﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace QLChoDiaOc.Forms
{
    /// <summary>
    /// Interaction logic for FormXacNhanGiayTo.xaml
    /// </summary>
    public partial class FormXacNhanGiayTo : Page
    {
        public FormXacNhanGiayTo()
        {
            InitializeComponent();
        }

        private void btnXacNhan_Click(object sender, RoutedEventArgs e)
        {
            if (chb_gcnquyensddat.IsChecked == true
                   && chb_gcnsohuunha.IsChecked == true
                   && chb_gphoancong.IsChecked == true
                   && chb_gpxaydung.IsChecked == true)
            {
                App.Mainform.btnLapPhieuThu.IsEnabled = true;
                MessageBox.Show("Thông tin hợp lệ", "Thông Báo");
            }
            else
                MessageBox.Show("Bạn chưa có đầy đủ giấy tờ", "Thông Báo");
        }
    }
}
